/*
 * @Author: CQJ
 * @Date: 2022-08-28 23:33:11
 * @LastEditors: CQJ
 * @LastEditTime: 2022-09-14 16:38:31
 * @Description:
 */
export const OPTIONS = [
  {
    value: '0',
    label: '推荐'
  },
  {
    value: '1',
    label: '热门'
  },
  {
    value: '2',
    label: '最新'
  },
  {
    value: '3',
    label: '顶部分类'
  },
  {
    value: '4',
    label: '顶部专辑'
  },
  {
    value: '5',
    label: '播放页'
  },
  {
    value: '6',
    label: '影人页'
  }
]

export const column = [
  { title: '排序', key: 'sort', width: 60 },
  {
    title: '广告ID',
    key: 'id',
    dataIndex: 'id',
    width: 190
  },
  {
    title: '广告图片',
    key: 'img_url',
    dataIndex: 'img_url'
  },
  {
    title: '广告标题',
    key: 'name',
    dataIndex: 'name'
  },
  {
    title: '投放位置',
    dataIndex: 'show_position_name',
    key: 'show_position_name'
  },
  {
    title: '跳转地址',
    key: 'jump_addr',
    dataIndex: 'jump_addr'
  },
  {
    title: '创建时间',
    key: 'created_at',
    dataIndex: 'created_at',
    width: 190
  },
  {
    title: '状态',
    key: 'status',
    dataIndex: 'status'
  },
  {
    title: '操作',
    key: 'action',
    fixed: 'right',
    width: 120
  }
]
//广告位数据
export const placeColumn = [
  {
    title: '广告ID',
    key: 'id',
    dataIndex: 'id',
    width: '25%'
  },
  {
    title: '广告位置',
    key: 'position',
    dataIndex: 'position',
    width: '25%'
  },
  {
    title: '已配置轮播广告数',
    key: 'count',
    dataIndex: 'count',
    width: '25%'
  },
  {
    title: '示意图',
    key: 'image',
    dataIndex: 'image',
    width: '25%'
  }
]
